package com.cn.xiaonuo.slbfinances.shopassets.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cn.xiaonuo.slbfinances.shopassets.entity.SlRevenueDetails;
import com.cn.xiaonuo.slbfinances.shopassets.param.PageRevenueDetailsParam;
import com.cn.xiaonuo.slbfinances.shopassets.rsp.RevenueDetailsRsp;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SlRevenueDetailsMapper extends BaseMapper<SlRevenueDetails> {
    RevenueDetailsRsp sumAmount(PageRevenueDetailsParam param);

    /**
     * 合计微信
     * @param param
     * @return
     */
    RevenueDetailsRsp sumWechatRevenue(PageRevenueDetailsParam param);

    /**
     * 合计支付宝
     * @param param
     * @return
     */
    RevenueDetailsRsp sumAlipayRevenue(PageRevenueDetailsParam param);
}
